package com.study.www.test1.entity;

import lombok.Data;

import javax.persistence.*;
import java.util.Date;
import java.util.List;

/**
 * @author : 89007337.zhuyanpeng
 * @Description: :
 * @date :Create in  2019/7/8- 14:34
 * @Version: V1.0
 * @Modified By:
 **/
@Data
@Entity
@Table(name = "sys_dept")
public class Dept {

    @Id
    private String id;

    @Column(name = "name")
    private String name;

    @Column(name = "create_time")
    @Temporal(TemporalType.TIMESTAMP)
    private Date createTime;
}
